import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import '@/tools/dragDialog.js'
import permission from "@/tools/permission";


import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css"; // 必须引入样式文件


Vue.config.productionTip = false;
Vue.use(ElementUI);
Vue.directive('permission', permission)



new Vue({
  router,
  store,
  beforeCreate() {
    Vue.prototype.$bus = this;
  },
  render: (h) => h(App),
}).$mount("#app");
